NDepend.API Documentation
ShowDialogSelectAssemblies(IntPtr,ICollection<IAbsoluteFilePath>,ICollection<IAbsoluteFilePath>) Method
NDepend.Project Namespace > IProjectManager Interface > ShowDialogSelectAssemblies Method : ShowDialogSelectAssemblies(IntPtr,ICollection<IAbsoluteFilePath>,ICollection<IAbsoluteFilePath>) Method
The window handle of the parent window that shows the dialog.
A collection of file paths to the assemblies that the dialog initially shows to the user.
Application assemblies file paths choosen
Shows a dialog that allows the user select a set of assemblies files.
Syntax

Parameters

ownerWindowHandle
The window handle of the parent window that shows the dialog.
applicationAssembliesIn
A collection of file paths to the assemblies that the dialog initially shows to the user.
applicationAssembliesOut
Application assemblies file paths choosen

Return Value

true if the user clicked OK, false if the user clicked Cancel.
Exceptions
ExceptionDescription
This operation needs the current thread to be a STA thread. To do so, just tag your Main() method with the [STAThread] attribute.
Remarks
This method can only be invoked within a .NET Framework 4.x and Windows OS context else it throws a NotSupportedException.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IProjectManager Interface
IProjectManager Members
Overload List
ShowDialogSelectAssemblies(IntPtr,ICollection<IAbsoluteFilePath>) Method
ShowDialogChooseAnExistingProject Method
ShowDialogSelectVisualStudioSolutionsOrProjects Method
ShowDialogBuildComparison Method